#ifndef DOTITEM_H
#define DOTITEM_H

#include "global.h"

#include <QGraphicsItem>
#include <QPainter>
#include <QGraphicsSceneMouseEvent>

class GraphWidget;
class CoordItem;

class DotItem : public QGraphicsItem
{
public:
    DotItem(GraphWidget *graphWidget);

    void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget);
    QRectF boundingRect() const;

    int type() const {return DOTTYPE;}

private:
    GraphWidget *graph;
};

#endif // DOTITEM_H
